﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IntroduceCompany.Models.LogOnAdminModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>LogOn</title>
    <link href="../../../Content/Backend/css/blue/screen.css" rel="stylesheet" type="text/css" />
</head>
<body class="login">
	<!-- Begin login form -->
	<div id="login_wrapper">
		<br class="clear"/>
		<div id="login_top_window">
			<img src="../../../Content/Backend/images/blue/top_login_window.png" alt="top window"/>
		</div>
		
		<!-- Begin content -->
		<div id="login_body_window">
			<div class="inner">
				<!--<img src="../../../Content/Backend/images/corp-name.png" alt="logo"/>-->
                <h2>INTRODUCE COMPANY</h2>

                <% using (Html.BeginForm("LogOn", "Admin", FormMethod.Post))
                   { %>
                <%-- <%= Html.AntiForgeryToken(IntroduceCompany.Util.AntiKey.EditSalt)%>--%>
                 <%= IntroduceCompany.Util.MyAntiForgeryExtensions.MyAntiForgeryToken(Html,IntroduceCompany.Util.AntiKey.EditSalt)%>
                <label class="error"><%= Html.ValidationSummary(true, "Tên tài khoản hoặc mật khẩu chưa đúng.") %></label>
           
                <p>
                    <%= Html.TextBoxFor(m => m.UserName, new { @style = "width:285px;", @placeholder="Tên tài khoản" })%>
                </p>
                
                <p>
                    <%= Html.PasswordFor(m => m.Password, new { @style = "width:285px;", @placeholder = "Mật khẩu" })%>
                </p>
                
                <p>
                    <input type="submit"  value="Log On" class="Login" style="margin-right:5px"/>
                    <%= Html.CheckBoxFor(m => m.RememberMe) %>Nhớ mật khẩu
                </p>
                <% } %>

			</div>
		</div>
		<!-- End content -->
		
		<div id="login_footer_window">
			<img src="../../../Content/Backend/images/blue/footer_login_window.png" alt="footer window"/>
		</div>
		<div id="login_reflect">
			<img src="../../../Content/Backend/images/blue/reflect.png" alt="window reflect"/>
		</div>
	</div>
	<!-- End login form -->
</body>
</html>
